﻿using System;

namespace Infrastructure.ExternalService.Core
{
    /// <summary>
    /// 外部服务代理基类
    /// </summary>
    public interface IExternalService
    {
    }
    
    public class ClientReturnCode
    {
        //0,1,2,3开头的code，均为网关内置code
        //0000 正常  
        public const string Success = "0000";

        //1003 参数错误
        public const string ParamError = "1003";

        //1005 操作权限校验失败
        public const string OperatePermisionError = "1005";

        //1006 数据权限校验失败
        public const string DataPermisionError = "1006";

        //2001 处理失败
        public const string Failure = "2001";

        //3001 业务处理失败
        public const string OperationError = "3001";


        //4以后开头的code，均为自定义dode
        //4001 数据不存在
        public const string DataNotExists = "4001";
    }
}
